import {
	apiResquest
} from '@/utils/Http.js'
export const menuSelect = params => {
	return apiResquest({
		url: "/a/adm/menu/select",
		method: "post",
		data: params
	});
};
export const menuAdd = params => {
	return apiResquest({
		url: "/a/adm/menu/add",
		method: "post",
		data: params
	});
};
export const menuUpdate = (params, id) => {
	return apiResquest({
		url: "/a/adm/menu/update/" + id,
		method: "post",
		data: params
	});
};
export const menuDelete = (params, id) => {
	return apiResquest({
		url: "/a/adm/menu/delete/" + id,
		method: "post",
		data: params
	});
};
export const menuStatus = (params, id) => {
	return apiResquest({
		url: "/a/adm/menu/status/" + id,
		method: "post",
		data: params
	});
};